package com.cloud.report.api.entity;

import java.util.List;

import javax.persistence.*;

@Table(name = "report_dataview")
public class ReportDataview {
    @Id
    @Column(name = "dataview_id")
    private Long dataviewId;
    
    @Column(name = "dataview_name")
    private String dataviewName;
    
    @Column(name = "group_name")
    private String groupName;

    @Column(name = "dataview_description")
    private String dataviewDescription;

    @Column(name = "table_name")
    private String tableName;
    

    @Column(name = "ds_name")
    private String dsName;
    
    @Transient
    private List<ReportDataviewField> dataviewFields;

    public Long getDataviewId() {
        return dataviewId;
    }

    public void setDataviewId(Long dataviewId) {
        this.dataviewId = dataviewId;
    }

    public String getDataviewDescription() {
        return dataviewDescription;
    }

    public void setDataviewDescription(String dataviewDescription) {
        this.dataviewDescription = dataviewDescription;
    }

    public String getDataviewName() {
        return dataviewName;
    }

    public void setDataviewName(String dataviewName) {
        this.dataviewName = dataviewName;
    }

    public String getDsName() {
        return dsName;
    }

    public void setDsName(String dsName) {
        this.dsName = dsName;
    }

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public List<ReportDataviewField> getDataviewFields() {
		return dataviewFields;
	}

	public void setDataviewFields(List<ReportDataviewField> dataviewFields) {
		this.dataviewFields = dataviewFields;
	}
    
}